<template>
  <div class="portal-container">
    portal:{{time}}
    <button @click="handleClick">change</button>
    <br/>
    <br/>
    <br/>
    <br/>
    <draggable v-model="myArray" :options="{draggable:'.item'}">
      <div v-for="element in myArray" :key="element.id" class="item">
        {{element.name}}
      </div>
      <button slot="footer" @click="addPeople">Add</button>
    </draggable>
  </div>
</template>

<script src='./component.js'/>
<style src='./style.scss' rel='stylesheet/scss' lang='scss' scoped/>

